﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RaisingStudio.Data.Entities
{
    /// <summary>
    /// SystemUserA.
    /// </summary>
    [Serializable]
    [RaisingStudio.Data.DataTable("DAC_USER")]
    partial class SystemUserA
    {
        #region Members
		
		private string _UserID;
		/// <summary>
		/// UserID.
		/// </summary>
		[System.ComponentModel.Description("UserID")]
        [RaisingStudio.Data.DataColumn("USER_ID", AllowDBNull = false, IsPrimaryKey = true)]
		public string UserID
		{
			get 
			{
				return this._UserID;
			}
			set 
			{
				this._UserID = value;
			}
		}

		private string _UserName;
		/// <summary>
		/// UserName.
		/// </summary>
		[System.ComponentModel.Description("UserName")]
        [RaisingStudio.Data.DataColumn("USERNAME", AllowDBNull = false)]
		public string UserName
		{
			get 
			{
				return this._UserName;
			}
			set 
			{
				this._UserName = value;
			}
		}

		private string _FullName;
		/// <summary>
		/// FullName.
		/// </summary>
		[System.ComponentModel.Description("FullName")]
        [RaisingStudio.Data.DataColumn("FULLNAME")]
		public string FullName
		{
			get 
			{
				return this._FullName;
			}
			set 
			{
				this._FullName = value;
			}
		}

		private string _Password;
		/// <summary>
		/// Password.
		/// </summary>
		[System.ComponentModel.Description("Password")]
        [RaisingStudio.Data.DataColumn("USER_PWD")]
		public string Password
		{
			get 
			{
				return this._Password;
			}
			set 
			{
				this._Password = value;
			}
		}

		private bool? _ChangingPassword;
		/// <summary>
		/// ChangingPassword.
		/// </summary>
		[System.ComponentModel.Description("ChangingPassword")]
        [RaisingStudio.Data.DataColumn("CHANGINGPWD", DbType = System.Data.DbType.Int32)]
		public bool? ChangingPassword
		{
			get 
			{
				return this._ChangingPassword;
			}
			set 
			{
				this._ChangingPassword = value;
			}
		}

		private bool? _UserLocked;
		/// <summary>
		/// UserLocked.
		/// </summary>
		[System.ComponentModel.Description("UserLocked")]
        [RaisingStudio.Data.DataColumn("USERLOCKED", DbType = System.Data.DbType.Int32)]
		public bool? UserLocked
		{
			get 
			{
				return this._UserLocked;
			}
			set 
			{
				this._UserLocked = value;
			}
		}

		private DateTime? _LastLogin;
		/// <summary>
		/// LastLogin.
		/// </summary>
		[System.ComponentModel.Description("LastLogin")]
        [RaisingStudio.Data.DataColumn("LASTLOGIN", DbType = System.Data.DbType.DateTime)]
		public DateTime? LastLogin
		{
			get 
			{
				return this._LastLogin;
			}
			set 
			{
				this._LastLogin = value;
			}
		}

		private string _UserDescription;
		/// <summary>
		/// UserDescription.
		/// </summary>
		[System.ComponentModel.Description("UserDescription")]
        [RaisingStudio.Data.DataColumn("USER_DESC")]
		public string UserDescription
		{
			get 
			{
				return this._UserDescription;
			}
			set 
			{
				this._UserDescription = value;
			}
		}

		#endregion
    }
}
